body {
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #000;
  /*font: 11px "Lucida Grande", Helvetica, Arial, sans-serif;*/
  font: 11px 'Comic Sans MS', cursive, Arial, Helvetica, sans-serif;
}

a {
  color: #ffffff;
}

a:link {
  color: blue;
}

a:visited {
  color: blueviolet;
}

a:hover {
  color: #ff0000;
}

#container, .pop {
  position: absolute;
  top: 20%;
  left: 20%;
  width: 60%;
  height: 60%;
  color: #fff;
  overflow: hidden;
  background-color: #000;
}

#container, .pop .fa-times {
  float: right;
  font-size: 20px;
  cursor: pointer;
}

.pop p {
  margin: 0 30%;
}

.pop p.title {
  text-align: center;
  font-size: 20px;
}

.pop ul {
  list-style: decimal;
  margin: 0 0 0 35%;
  overflow-y: auto;
  height: 100%;
}

#container > span {
  position: relative;
  float: left;
  width: 20%;
  height: 25%;
  -webkit-perspective: 350px;
}

/*#container img {*/
/*width: 100%;*/
/*height: 100%;*/
/*}*/

/*#container p {*/
/*padding: 0;*/
/*margin: 0;*/
/*border: 0;*/
/*word-break: break-all;*/
/*word-wrap: break-word;*/
/*overflow: hidden;*/
/*width: 100%;*/
/*height: 100%;*/
/*}*/

/*#container>span:nth-child(4n+1) img{*/
/*-webkit-transform: rotateY(30deg);*/
/*}*/

/*#container>span:nth-child(4n+2) img{*/
/*-webkit-transform: rotateY(2deg) translate3d(0px,-5px,-65px);*/
/*}*/

/*#container>span:nth-child(4n+3) img{*/
/*-webkit-transform: rotateY(-2deg) translate3d(0px,-5px,-65px);*/
/*}*/

/*#container>span:nth-child(4n+4) img{*/
/*-webkit-transform: rotateY(-30deg);*/
/*}*/

figure {
  margin: 0;
  width: 99%;
  height: 99%;
  overflow: hidden;
  border: solid 1px #444;
}

figure > a {
  display: block;
  width: 90%;
  height: 100%;
  margin: 0 auto;
  padding: 0;
  border: 0;
}

figure > a > p {
  word-break: break-all;
  word-wrap: break-word;
}

#oper {
  position: absolute;
  top: 80%;
  margin-top: 2px;
  left: 20%;
  width: 60%;
  height: 5%;
  overflow: hidden;
}

#oper input {
  background-color: dimgray;
  font-weight: bold;
  font-style: oblique;
  font-size: 20px;
  width: 100%;
  height: 98%;
  line-height: 98%;
  padding: 0 10px;
  margin: 0;
  border: 0;
}
